package org.project.api.Params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @Auther: hzy
 * @Date: 2022/4/13 10:18
 * @Description:
 */

@Data
@ToString
@ApiModel(value = "搜索参数")
public class searchParams {

    @ApiModelProperty(value = "关键字（为空则代表全局搜索")
    private String keyword;

    @ApiModelProperty(value = "页码")
    private int page = 1;

    @ApiModelProperty(value = "请求数据异常类型")
    private int toType = 0;

    @ApiModelProperty(value = "选择的一级类目")
    private String[] toFirst;

}
